extends CanvasLayer
@onready var color_full: ColorRect = $ColorFull
func set_color(col:Color)->void:
	color_full.material.set_shader_parameter("bk_color",Vector3(col.r,col.g,col.b))
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	Global.set_background_color.connect(set_color)
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	pass

func _exit_tree() -> void:
	Global.set_background_color.disconnect(set_color)
	pass
